Vamos a hacer que ésta función returne el valor de moon_weight.

  • Ve a y arrastra Return Statement dentro de la función debe tener un ···· al frente.
  • Cambia la variable en el return statement a moon_weight.

Podemos usar el valor de moon_weight fuera de nuestra función porque hemos usado un return statement.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)